Skip to content

Comments

fix(release): avoid latest.json outage during in-progress releases#628

Merged
benjaminshafii merged 1 commit intodevfrom
fix/release-draft-until-latest-json
Feb 21, 2026
Merged

fix(release): avoid latest.json outage during in-progress releases#628
benjaminshafii merged 1 commit intodevfrom
fix/release-draft-until-latest-json

Conversation

@benjaminshafii
Copy link
Member

Summary

  • default tag-triggered release creation to draft mode so /releases/latest stays on the previous stable release while assets are uploading
  • add a final Publish GitHub Release job that only publishes after publish-tauri, publish-updater-json, and downstream publish jobs have succeeded or been skipped
  • publish non-prerelease tags with --latest only after latest.json has been uploaded, preventing updater 404 windows

Root Cause

Release metadata was created as a published release at workflow start. GitHub immediately repointed /releases/latest to the new tag before latest.json existed, so in-app update checks could fail with "Could not fetch a valid release JSON from the remote" until late jobs completed.

Validation

  • Verified the current fixed pipeline behavior manually by checking release asset availability and updater endpoint responses.
  • Confirmed updater endpoint returns valid JSON once latest.json is present (curl -fsSL https://github.com/different-ai/openwork/releases/latest/download/latest.json).

Notes

  • This change targets tag-push releases (the standard release path) by defaulting them to draft; workflow_dispatch can still explicitly control draft behavior via input.

@vercel
Copy link

vercel bot commented Feb 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
openwork-share Ready Ready Preview, Comment Feb 21, 2026 0:11am
openwork-software Ready Ready Preview, Comment Feb 21, 2026 0:11am

@github-actions
Copy link
Contributor

The following comment was made by an LLM, it may be inaccurate:

@benjaminshafii benjaminshafii merged commit 8e2d5f3 into dev Feb 21, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant